package cn.koala.key.complaint.entity.vo;

import com.alibaba.fastjson.annotation.JSONField;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * 投诉单。
 *
 * @author liutao
 * @date 2021/1/15
 */
public class CustomerComplaintOrderVO {
    @JSONField(name="repairOrderNo")
    private String repairOrderNo;
    @NotNull(message = "请选择来源渠道")
    @JSONField(name="sourceId")
    private Integer source;
    private Integer status;
    @JSONField(name="levelId")
    private Integer level;
    @NotNull(message = "请选择投诉分类")
    @JSONField(name="sortId")
    private Integer sort;
    private String carNo;
    private Integer cityId;
    private String cityName;
    @NotNull(message = "请选择投诉门店")
    @JSONField(name="shopId")
    private Integer storeId;
    private String storeName;
    @NotEmpty(message = "请输入客户姓名")
    @JSONField(name="userName")
    private String customerName;
    @JSONField(name="userPhone")
    private String customerPhone;
    private Date complaintDate;
    private Date closeDate;
    @JSONField(name="message")
    private String complaintContent;
    private Integer isValid;
    private Integer processSort;
    private String shopProcessNote;
    private String cityApproveNote;
    private String hqApproveNote;
    @JSONField(name="expenseId")
    private Integer isConsume;
    @JSONField(name="expenseTime")
    private Date consumeTime;
    @JSONField(name="expenseProject")
    private String consumeProject;
    private List<String> attachmentUrls;

    public String getRepairOrderNo() {
        return repairOrderNo;
    }

    public void setRepairOrderNo(String repairOrderNo) {
        this.repairOrderNo = repairOrderNo;
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getCarNo() {
        return carNo;
    }

    public void setCarNo(String carNo) {
        this.carNo = carNo;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerPhone() {
        return customerPhone;
    }

    public void setCustomerPhone(String customerPhone) {
        this.customerPhone = customerPhone;
    }

    public Date getComplaintDate() {
        return complaintDate;
    }

    public void setComplaintDate(Date complaintDate) {
        this.complaintDate = complaintDate;
    }

    public Date getCloseDate() {
        return closeDate;
    }

    public void setCloseDate(Date closeDate) {
        this.closeDate = closeDate;
    }

    public String getComplaintContent() {
        return complaintContent;
    }

    public void setComplaintContent(String complaintContent) {
        this.complaintContent = complaintContent;
    }

    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }

    public Integer getProcessSort() {
        return processSort;
    }

    public void setProcessSort(Integer processSort) {
        this.processSort = processSort;
    }

    public String getShopProcessNote() {
        return shopProcessNote;
    }

    public void setShopProcessNote(String shopProcessNote) {
        this.shopProcessNote = shopProcessNote;
    }

    public String getCityApproveNote() {
        return cityApproveNote;
    }

    public void setCityApproveNote(String cityApproveNote) {
        this.cityApproveNote = cityApproveNote;
    }

    public String getHqApproveNote() {
        return hqApproveNote;
    }

    public void setHqApproveNote(String hqApproveNote) {
        this.hqApproveNote = hqApproveNote;
    }

    public Integer getIsConsume() {
        return isConsume;
    }

    public void setIsConsume(Integer isConsume) {
        this.isConsume = isConsume;
    }

    public Date getConsumeTime() {
        return consumeTime;
    }

    public void setConsumeTime(Date consumeTime) {
        this.consumeTime = consumeTime;
    }

    public String getConsumeProject() {
        return consumeProject;
    }

    public void setConsumeProject(String consumeProject) {
        this.consumeProject = consumeProject;
    }

    public List<String> getAttachmentUrls() {
        return attachmentUrls;
    }

    public void setAttachmentUrls(List<String> attachmentUrls) {
        this.attachmentUrls = attachmentUrls;
    }

    @Override
    public String toString() {
        return "CustomerComplaintOrderVO{" +
                "repairOrderNo='" + repairOrderNo + '\'' +
                ", source=" + source +
                ", status=" + status +
                ", level=" + level +
                ", sort=" + sort +
                ", carNo='" + carNo + '\'' +
                ", cityId=" + cityId +
                ", cityName='" + cityName + '\'' +
                ", storeId=" + storeId +
                ", storeName='" + storeName + '\'' +
                ", customerName='" + customerName + '\'' +
                ", customerPhone='" + customerPhone + '\'' +
                ", complaintDate=" + complaintDate +
                ", closeDate=" + closeDate +
                ", complaintContent='" + complaintContent + '\'' +
                ", isValid=" + isValid +
                ", processSort=" + processSort +
                ", shopProcessNote='" + shopProcessNote + '\'' +
                ", cityApproveNote='" + cityApproveNote + '\'' +
                ", hqApproveNote='" + hqApproveNote + '\'' +
                ", isConsume=" + isConsume +
                ", consumeTime=" + consumeTime +
                ", consumeProject='" + consumeProject + '\'' +
                ", attachmentUrls=" + attachmentUrls +
                '}';
    }
}
